import {
	http
} from '@/utils/request.js'
// 用户中心
export const userinfo = (data) => {
	return http.post('/user/index', data)
}
// 修改头像。昵称，性别，生日
export const userprofile = (data) => {
	return http.post('/user/profile', data)
}
// 充值金额
export const leasefile = (data) => {
	return http.post('/user/moneylist', data)
}
// 登录
export const userphone = (data) => {
	return http.post('/login/wxlogin', data)
}
// 会员套餐
export const memberinfo = (data) => {
	return http.post('/user/viplist', data)
}
// 开通会员
export const viporder = (data) => {
	return http.post('/user/viporder', data)
}
// 充值金额
export const moneylist = (data) => {
	return http.post('/user/moneylist', data)
}
// 充值
export const rechargeorder = (data) => {
	return http.post('/user/rechargeorder', data)
}
// 充值记录
export const rechargelog = (data) => {
	return http.post('/user/rechargelog', data)
}
// 我的钱包
export const walletlog = (data) => {
	return http.post('/user/walletlog', data)
}
// 平台客服联系方式

export const cmpfile = (data) => {
	return http.post('/user/cmpfile', data)
}
// 地址列表
export const addresslist = (data) => {
	return http.post('/goods/addresslist', data)
}
// 地址详情
export const addressdetail = (data) => {
	return http.post('/goods/addressdetail', data)
}
// 设为默认地址
export const addressmoren = (data) => {
	return http.post('/goods/addressmoren', data)
}
// 删除地址
export const deladdress = (data) => {
	return http.post('/goods/deladdress', data)
}
// 地址详情
export const addressdetail1 = (data) => {
	return http.post('/goods/addressdetail', data)
}
// 
export const addaddress = (data) => {
	return http.post('/goods/addaddress', data)
}
// 商务信息
export const swfile = (data) => {
	return http.post('/user/swfile', data)
}
// 提交商务合作
export const swadd = (data) => {
	return http.post('/user/swadd', data)
}
// 押金记录
export const yjlog = (data) => {
	return http.post('/hexiao/yjlog', data)
}
// 退押金
export const tuiya3 = (data) => {
	return http.post('/hexiao/tuiya', data)
}
export const orderlist = (data) => {
	return http.post('/hexiao/orderlist', data)
}

// 订单详情
export const orderfile = (data) => {
	return http.post('/hexiao/orderfile', data)
}
// hexiao/orderfile
// 核销内容
export const saohexiao = (data) => {
	return http.post('/hexiao/saohexiao', data)
}
// 核销
export const hexiao1 = (data) => {
	return http.post('/hexiao/hexiao', data)
}
// 退款
export const tuiya = (data) => {
	return http.post('/hexiao/tuikuan', data)
}
export const messageinit = (data) => {
	return http.post('/user/index', data)
}
// 确认收货
export const shouh = (data) => {
	return http.post('/addons/shopro/order.order/confirm', data)
}
// 上次预约接口
export const lastfile = (data) => {
	return http.post('/user/lastfile', data)
}